package com.tsingteng.cosfun.ui.search;

import com.tsingteng.cosfun.bean.BaseDataBean;
import com.tsingteng.cosfun.bean.FollowBean;
import com.tsingteng.cosfun.bean.SearchResp;
import com.tsingteng.cosfun.bean.SearchUserResp;
import com.tsingteng.cosfun.callback.RxObserver;

import java.util.List;

import retrofit2.Callback;

/**
 * 搜索接口
 * author zht
 */
public interface ISearchModel {
    //搜索人
    void searchUser(String search,int pageNo, RxObserver<SearchResp> callBack);
    //初始化人
    void getInitUser(int type,int page_no,RxObserver<SearchResp> callBack);
    //去关注
    void getFollowNotification(String follow_id, Callback<BaseDataBean<FollowBean>> callback);
    //取消关注
    void getNoFollowNotification(String follow_id, RxObserver<FollowBean> callback);
}
